package com.ztf.employee.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author ztf
 * @email ztf@gmail.com
 * @date 2020-04-16 19:21:33
 */
@Data
@TableName("leave")
public class LeaveEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer leaveId;
	/**
	 * 请假标题
	 */
	private String leaveTitle;
	/**
	 * 请假内容
	 */
	private String leaveContent;
	/**
	 * 是否准假：0：批准，1:未批准
	 */
	private Integer leaveStatus;
	/**
	 * 请假开始时间
	 */
	private Date beginTime;
	/**
	 * 请假结束时间
	 */
	private Date endTime;
	/**
	 * 员工id,外键
	 */
	private Integer employeeId;

}
